home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 June
/
PCWorld_2007-06_cd.bin
/
zabezpeceni
/
fortknox
/
fk-setup_cz.exe
/
{app}
/
FortKnoxOn.vbs
< prev
next >
Wrap
Text File
|
2006-02-27
|
433b
|
20 lines
Set objSecurityCenter = GetObject("winmgmts:\\.\root\SecurityCenter")
Set colFirewall = objSecurityCenter.ExecQuery("Select * From FirewallProduct",,48)
For Each objFirewall In colFirewall
Dim prodName, compValue
prodName = "FortKnox Personal Firewall"
compValue = StrComp(objFirewall.displayName, prodName)
if compValue = 0 then
objFirewall.enabled=TRUE
objFirewall.Put_
end if
Next